package com.calvin.study;

import org.springframework.beans.factory.InitializingBean;

//抽象类
public abstract class DaoSupport implements InitializingBean {

	@Override
	public void afterPropertiesSet() throws Exception {
		checkDaoConfig();
	}

	//模板方法
	protected abstract void checkDaoConfig() throws IllegalArgumentException;

}








